package com.acertificate.util;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

import org.apache.commons.io.IOUtils;

public class SqlFormating {

	/**
	 * @param args
	 * @throws IOException 
	 * @throws FileNotFoundException 
	 */
	public static void main(String[] args) throws FileNotFoundException, IOException {
		String sql = IOUtils.toString(new FileInputStream(new File("C:/domains/p-1.txt")));
		sql.replaceAll("\r", "").replaceAll("\n", "");
		System.out.println(sql);
	}

}
